package hotgammon.zetamon;

import java.util.Map;

import hotgammon.common.*;

public class HyperGammonSetupPiecesStrategy implements SetupPiecesStrategy {

	@Override
	public void setupPieces(Map<Location, Color> locationColors, Map<Location, Integer> locationCount) {
		locationColors.put(Location.R1, Color.BLACK);
        locationCount.put(Location.R1, 1);
        locationColors.put(Location.R2, Color.BLACK);
        locationCount.put(Location.R2, 1);
        locationColors.put(Location.R3, Color.BLACK);
        locationCount.put(Location.R3, 1);
        locationColors.put(Location.R4, Color.NONE);
        locationCount.put(Location.R4, 0);
        locationColors.put(Location.R5, Color.NONE);
        locationCount.put(Location.R5, 0);
        locationColors.put(Location.R6, Color.NONE);
        locationCount.put(Location.R6, 0);
        locationColors.put(Location.R7, Color.NONE);
        locationCount.put(Location.R7, 0);
        locationColors.put(Location.R8, Color.NONE);
        locationCount.put(Location.R8, 0);
        locationColors.put(Location.R9, Color.NONE);
        locationCount.put(Location.R9, 0);
        locationColors.put(Location.R10, Color.NONE);
        locationCount.put(Location.R10, 0);
        locationColors.put(Location.R11, Color.NONE);
        locationCount.put(Location.R11, 0);
        locationColors.put(Location.R12, Color.NONE);
        locationCount.put(Location.R12, 0);
        locationColors.put(Location.B12, Color.NONE);
        locationCount.put(Location.B12, 0);
        locationColors.put(Location.B11, Color.NONE);
        locationCount.put(Location.B11, 0);
        locationColors.put(Location.B10, Color.NONE);
        locationCount.put(Location.B10, 0);
        locationColors.put(Location.B9, Color.NONE);
        locationCount.put(Location.B9, 0);
        locationColors.put(Location.B8, Color.NONE);
        locationCount.put(Location.B8, 0);
        locationColors.put(Location.B7, Color.NONE);
        locationCount.put(Location.B7, 0);
        locationColors.put(Location.B6, Color.NONE);
        locationCount.put(Location.B6, 0);
        locationColors.put(Location.B5, Color.NONE);
        locationCount.put(Location.B5, 0);
        locationColors.put(Location.B4, Color.NONE);
        locationCount.put(Location.B4, 0);
        locationColors.put(Location.B3, Color.RED);
        locationCount.put(Location.B3, 1);
        locationColors.put(Location.B2, Color.RED);
        locationCount.put(Location.B2, 1);
        locationColors.put(Location.B1, Color.RED);
        locationCount.put(Location.B1, 1);
        
        locationColors.put(Location.B_BAR, Color.BLACK); //Only black checkers allowed so initialize to color
        locationCount.put(Location.B_BAR, 0);
        locationColors.put(Location.R_BAR, Color.RED); //Only red checkers allowed so initialize to color
        locationCount.put(Location.R_BAR, 0);
        locationColors.put(Location.B_BEAR_OFF, Color.BLACK); //Only black checkers allowed so initialize to color
        locationCount.put(Location.B_BEAR_OFF, 0);
        locationColors.put(Location.R_BEAR_OFF, Color.RED); //Only red checkers allowed so initialize to color
        locationCount.put(Location.R_BEAR_OFF, 0); 
		
	}

}
